#include <winsock.h>
#include <stdio.h>

#define MY_PORT 3434
int main() {
	SOCKET conn_sock;
	struct sockaddr_in remote_addr;
	int bytes_recvd;
	char buffer[100];
	WSADATA wsaData;
	
	WSAStartup(MAKEWORD(1,1),&wsaData);

	conn_sock = socket(AF_INET, SOCK_STREAM, 0); 
      bind(conn_sock, ……
	remote_addr.sin_family = AF_INET;     
	remote_addr.sin_port = htons(MY_PORT); 
	remote_addr.sin_addr.s_addr = inet_addr("137.189.90.38");
    
	connect(conn_sock, (struct sockaddr *)&remote_addr, sizeof(struct sockaddr));

	bytes_recvd = recv(conn_sock, buffer, sizeof(buffer), 0);	
	printf("Received (%d bytes): \"%s\"\n", bytes_recvd, buffer);
		
	closesocket(conn_sock);
	WSACleanup();

	return 0;
}